import 'package:flutter/material.dart';
import 'package:flutter_architecture/config/app_theme.dart';
import 'package:flutter_architecture/widgets/appbar/appbar_widget.dart';
import 'package:flutter_architecture/widgets/scaffold/scaffold_widget.dart';

/// home 首页
/// @author: dingwen
/// @date: 2021/1/3

class HomePage extends StatefulWidget {
  const HomePage();

  @override
  _HomePageState createState() => _HomePageState();
}

class _HomePageState extends State<HomePage> {
  @override
  Widget build(BuildContext context) {
    return architectureScaffold(
      appBar:
          architectureAppBar(title: 'Home\t\tPage', isShowBackButton: false),
      body: Center(
        child: Text('home page',style: AppTheme.textTheme.bodyText1,),
      ),
    );
  }
}
